package com.top10.entity.vo;

import org.hibernate.validator.constraints.NotEmpty;

public class AdminVo {
    private String uuid;
    @NotEmpty(message = "密码不能为空")
    private String password;
    private String phoneNumber;
    @NotEmpty(message = "验证码不能为空")
    private String code;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "AdminVo{" +
                "uuid='" + uuid + '\'' +
                ", password='" + password + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", code='" + code + '\'' +
                '}';
    }
}
